package entity;


import java.io.Serializable;



/**
 * 用户修改密码实体类
 *
 * @author My
 * @date 2021/10/12 11:38
 */

public class UserPassowrdEdit implements Serializable{
    private Integer id;
    private String oldPassword;
    private String newPassword;

    public UserPassowrdEdit() {

    }

    public UserPassowrdEdit(Integer id, String oldPassword, String newPassword) {
        this.id = id;
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
    }

    public Integer getId() {
        return id;
    }



    public void setId(Integer id) {
        this.id = id;
    }



    public String getOldPassword() {
        return oldPassword;
    }



    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }



    public String getNewPassword() {
        return newPassword;
    }



    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }



    @Override
    public String toString() {
        return "UserPassowrdEdit{" +
                "id=" + id +
                ", oldPassword='" + oldPassword + '\'' +
                ", newPassword='" + newPassword + '\'' +
                '}';
    }


}
